package com.peas.platform.module.icims.budget.project.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.BudgetProjectNoticeFileRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.po.BudgetProjectNoticeFilePo;
import com.peas.platform.module.icims.budget.project.domain.BudgetProjectNoticeFileDomain;
import com.peas.platform.module.icims.budget.project.dto.BudgetProjectNoticeFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetProjectNoticeFileDomainImpl extends BaseDomainImpl<BudgetProjectNoticeFileDto, BudgetProjectNoticeFilePo> implements BudgetProjectNoticeFileDomain {

    @Resource
    private BudgetProjectNoticeFileRepository budgetProjectNoticeFileRepository;

    @Override
    public BaseRepository<BudgetProjectNoticeFilePo> getMapper() {
        return budgetProjectNoticeFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetProjectNoticeFilePo>> getRepositoryClass() {
        return BudgetProjectNoticeFileRepository.class;
    }

}
